Detecting and responding to tailgaters

ABSTRACT

An autonomous vehicle detects a tailgating vehicle and uses various response mechanisms. For example, a vehicle is identified as a tailgater based on whether its characteristics meet a variable threshold. For example, when the autonomous vehicle is traveling at slower speeds, the threshold is defined in distance. When the autonomous vehicle is traveling at faster speeds, the threshold is defined in time. The autonomous vehicle may respond to the tailgater by modifying its driving behavior. In one example, the autonomous vehicle adjusts a headway buffer (defined in time) from another vehicle in front of the autonomous vehicle. For example, if the tailgater is T seconds too close to the autonomous vehicle, the autonomous vehicle increases the headway buffer to the vehicle in front of it by some amount relative to T.

BACKGROUND

Autonomous vehicles use various computing systems to aid in thetransport of passengers from one location to another. Some autonomousvehicles may require some initial input or continuous input from anoperator, such as a pilot, driver, or passenger. Other systems, forexample autopilot systems, may be used only when the system has beenengaged, which permits the operator to switch from a manual driving mode(where the operator exercises a high degree of control over the movementof the vehicle) to an autonomous driving mode (where the vehicleessentially drives itself) to modes that lie somewhere in between.

Safety and comfort of passengers is an important goal of an autonomousvehicle system. Vehicles that follow others at short range or“tailgaters” can present safety and comfort issues for passengers ofautonomous vehicles.

BRIEF SUMMARY

Aspects of the disclosure provide a method of controlling a firstvehicle. The method includes detecting a second vehicle behind the firstvehicle; determining that the second vehicle is a tailgater based on acomparison of the distance threshold to a distance between the possibletailgater and the first vehicle; determining, by a processor, adifference in distance between a distance threshold and the distancebetween the second vehicle and the first vehicle; determining an amountof time for the first vehicle to travel the difference; increasing aminimum headway buffer defined in time between the first vehicle and athird vehicle in front of the first vehicle using the amount of time;and controlling the first vehicle based on the increased minimum headwaybuffer.

In one example, the method also includes adjusting the minimum headwaybuffer based on any changes to the current speed of the first vehicle.In another example, the method also includes adjusting the minimumheadway buffer based on any changes to the difference. In anotherexample, the second vehicle is determined to be a tailgater whendistance between the second vehicle and the first vehicle is less thanthe distance threshold. In this example, the method also includesadjusting the minimum headway buffer until the distance between thefirst vehicle and the tailgater is greater than or equal to the distancethreshold. In another example, the method also includes selecting thedistance threshold over a time threshold when the speed of the firstvehicle is less than a speed threshold. In another example, the methodalso includes determining the distance threshold using a function of adistance threshold component, a time threshold component, and thecurrent speed of the vehicle.

Another aspect of the disclosure provides a method of controlling afirst vehicle. The method includes detecting a second vehicle behind thefirst vehicle; identifying the second vehicle as a possible tailgater;determining, by a processor, a difference in distance between the firstvehicle and the possible tailgater; determining an amount of time forthe first vehicle to travel the difference; determining that thepossible tailgater is a tailgater based on a comparison of the amount oftime to a time threshold; determining a difference in time between thetime threshold and the amount of time; increasing a minimum headwaybuffer defined in time between the first vehicle and a third vehicle infront of the first vehicle using the difference; and controlling thefirst vehicle based on the increased minimum headway buffer.

In one example, the method also includes adjusting the minimum headwaybuffer based on any changes to the current speed of the first vehicle.In another example, the method also includes adjusting the minimumheadway buffer based on any changes to the difference. In anotherexample, the possible tailgater is determined to be a tailgater when theamount of time is less than the time threshold. In this example, themethod also includes adjusting the minimum headway buffer until theamount of time is greater than or equal to the time threshold. Inanother example, the method also includes selecting the time thresholdover a speed threshold when the speed of the first vehicle is greaterthan a speed threshold.

A further aspect of the disclosure provides a system for controlling afirst vehicle. The system includes memory storing a distance thresholdand a minimum headway buffer defined in time between the first vehicleand a third vehicle in front of the first vehicle. The system alsoincludes a processor configured to: detect a second vehicle behind thefirst vehicle; determine that the second vehicle is a tailgater based ona comparison of the distance threshold to a distance between thepossible tailgater and the first vehicle; determine a difference indistance between a distance threshold and the distance between thesecond vehicle and the first vehicle; determine an amount of time forthe first vehicle to travel the difference; increase the minimum headwaybuffer by the amount of time; and control the first vehicle based on theincreased minimum headway buffer.

In one example, the second vehicle is determined by the processor to bea tailgater when distance between the second vehicle and the firstvehicle is less than the distance threshold. In another example, theprocessor is also configured to select the distance threshold over atime threshold when the speed of the first vehicle is less than a speedthreshold. In another example, the processor is also configured todetermine the distance threshold using a function of a distancethreshold component, a time threshold component, and the current speedof the vehicle.

Another aspect of the disclosure provides a system. The system includesmemory storing a time threshold for determining whether a vehicle istailgating and a minimum headway buffer value defined in time betweenthe first vehicle and a third vehicle in front of the first vehicle. Thesystem also includes a processor configured to: detect a second vehiclebehind the first vehicle; identifying the second vehicle as a possibletailgater; determine a difference in distance between the first vehicleand the possible tailgater; determine an amount of time for the firstvehicle to travel the difference; determine that the possible tailgateris a tailgater based on a comparison of the amount of time to a timethreshold; determine a difference in time between the time threshold andthe amount of time; increase the minimum headway buffer by thedifference; and control the first vehicle based on the increased minimumheadway buffer.

In one example, the possible tailgater is determined by the processor tobe a tailgater when the amount of time is less than the time thresholdand the processor is further configured to adjust the minimum headwaybuffer until the amount of time is greater than or equal to the timethreshold. In another example, the processor is further configured toselect the time threshold over a speed threshold when the speed of thefirst vehicle is greater than a speed threshold.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a functional diagram of a system in accordance with aspects ofthe disclosure.

FIG. 2 is an interior of an autonomous vehicle in accordance withaspects of the disclosure.

FIG. 3 is an exterior of an autonomous vehicle in accordance withaspects of the disclosure.

FIG. 4 is an illustration of a highway used by way of example inaccordance with aspects of the disclosure.

FIG. 5 is an example of map information in accordance with aspects ofthe disclosure.

FIG. 6 is another illustration of the highway of FIG. 4.

FIGS. 7A and 7B a flow diagram in accordance with aspects of thedisclosure.

DETAILED DESCRIPTION

The disclosure provides an adaptive approach for detecting a tailgatingvehicle as well as various response mechanisms that may be used by anautonomous vehicle in response thereto. An autonomous vehicle mayinclude vehicles having one or more semiautonomous or autonomous modes.Such vehicles may also include one or more manual driving modes.

According to one aspect, a vehicle may be identified as a tailgaterbased on whether its characteristics meet a variable threshold. When theautonomous vehicle is traveling at slower speeds, the threshold may bedefined in terms of distance. When the autonomous vehicle is travelingat faster speeds, the threshold may be defined in terms of time.

Once a vehicle has been identified as a tailgater, the autonomousvehicle may provide various notifications. This may include notifyingpassengers of the autonomous vehicle audibly or visually, and/ornotifying the tailgater visually that he or she is tailgating.

The autonomous vehicle may also respond by modifying its drivingbehavior. In one example, the autonomous vehicle may change lanes toavoid the tailgater. In another example, the autonomous vehicle mayadjust the headway buffer from a vehicle in front of the autonomousvehicle. Alternatively, or in addition to adjusting the headway buffer,the vehicle may also adjust its braking profile or pattern in order toallow the tailgater to see the brake lights of the autonomous vehicleand may give the tailgater more time to realize the need to also brakeaggressively.

In one example, before determining whether another vehicle is atailgater, the autonomous vehicle may observe the vehicle for anobservation period. If the other vehicle is driving slower than theautonomous vehicle, this observation period may allow the autonomousvehicle to eliminate false positives such as vehicles that are movingthrough a lane or increasing the distance between themselves and theautonomous vehicle.

As shown in FIG. 1, an autonomous driving system 100 associated with anautonomous vehicle. In this regard, vehicle 101 may include anautonomous vehicle. While certain aspects of the disclosure areparticularly useful in connection with specific types of vehicles, thevehicle may be any type of vehicle including, but not limited to, cars,trucks, motorcycles, busses, recreational vehicles, amusement parkvehicles, construction equipment, trams, trains, and trolleys. Thevehicle may have one or more computers, such as computer 110 containinga processor 120, memory 130 and other components typically present ingeneral purpose computers.

The memory 130 stores information accessible by processor 120, includinginstructions 132 and data 134 that may be executed or otherwise used bythe processor 120. The memory 130 may be of any type capable of storinginformation accessible by the processor, including a computer-readablemedium, or other medium that stores data that may be read with the aidof an electronic device, such as a hard-drive, memory card, ROM, RAM,DVD or other optical disks, as well as other write-capable and read-onlymemories. Systems and methods may include different combinations of theforegoing, whereby different portions of the instructions and data arestored on different types of media.

The instructions 132 may be any set of instructions to be executeddirectly (such as machine code) or indirectly (such as scripts) by theprocessor. For example, the instructions may be stored as computer codeon the computer-readable medium. In that regard, the terms“instructions” and “programs” may be used interchangeably herein. Theinstructions may be stored in object code format for direct processingby the processor, or in any other computer language including scripts orcollections of independent source code modules that are interpreted ondemand or compiled in advance. Functions, methods and routines of theinstructions are explained in more detail below.

The data 134 may be retrieved, stored or modified by processor 120 inaccordance with the instructions 132. For instance, although the claimedsubject matter is not limited by any particular data structure, the datamay be stored in computer registers, in a relational database as a tablehaving a plurality of different fields and records, XML documents orflat files. The data may also be formatted in any computer-readableformat. By further way of example only, image data may be stored asbitmaps comprised of grids of pixels that are stored in accordance withformats that are compressed or uncompressed, lossless (e.g., BMP) orlossy (e.g., JPEG), and bitmap or vector-based (e.g., SVG), as well ascomputer instructions for drawing graphics. The data may comprise anyinformation sufficient to identify the relevant information, such asnumbers, descriptive text, proprietary codes, references to data storedin other areas of the same memory or different memories (including othernetwork locations) or information that is used by a function tocalculate the relevant data.

The processor 120 may be any conventional processor, such ascommercially available CPUs. Alternatively, the processor may be adedicated device such as an ASIC or other hardware-based processor.Although FIG. 1 functionally illustrates the processor, memory, andother elements of computer 110 as being within the same block, it willbe understood by those of ordinary skill in the art that the processor,computer, or memory may actually comprise multiple processors,computers, or memories that may or may not be stored within the samephysical housing. For example, memory may be a hard drive or otherstorage media located in a housing different from that of computer 110.Accordingly, references to a processor or computer will be understood toinclude references to a collection of processors or computers ormemories that may or may not operate in parallel. Rather than using asingle processor to perform the steps described herein, some of thecomponents, such as steering components and deceleration components, mayeach have their own processor that only performs calculations related tothe component's specific function.

In various aspects described herein, the processor may be located remotefrom the vehicle and communicate with the vehicle wirelessly. In otheraspects, some of the processes described herein are executed on aprocessor disposed within the vehicle and others by a remote processor,including taking the steps necessary to execute a single maneuver.

Computer 110 may include all of the components normally used inconnection with a computer such as a central processing unit (CPU),memory (e.g., RAM and internal hard drives) storing data 134 andinstructions such as a web browser, an electronic display 152 (e.g., amonitor having a screen, a small LCD touch-screen or any otherelectrical device that is operable to display information), user input150 (e.g., a mouse, keyboard, touch screen and/or microphone), as wellas various sensors (e.g., a video camera) for gathering explicit (e.g.,a gesture) or implicit (e.g., “the person is asleep”) information aboutthe states and desires of a person.

In one example, computer 110 may be an autonomous driving computingsystem incorporated into vehicle 101. FIG. 2 depicts an exemplary designof the interior of an autonomous vehicle. The autonomous vehicle mayinclude all of the features of a non-autonomous vehicle, for example: asteering apparatus, such as steering wheel 210; a navigation displayapparatus, such as navigation display 215 (which may be a part ofelectronic display 152); and a gear selector apparatus, such as gearshifter 220. The vehicle may also have various user input devices 150 inaddition to the foregoing, such as touch screen 217 (which may be a partof electronic display 152), or button inputs 219, for activating ordeactivating one or more autonomous driving modes and for enabling adriver or passenger 290 to provide information, such as a navigationdestination, to the autonomous driving computer 110.

The autonomous driving computing system may be capable of communicatingwith various components of the vehicle. For example, returning to FIG.1, computer 110 may be in communication with the vehicle's centralprocessor 160 and may send and receive information from the varioussystems of vehicle 101, for example the braking system 180, accelerationsystem 182, signaling system 184, and navigation system 186 in order tocontrol the movement, speed, etc. of vehicle 101. In one example, thevehicle's central processor 160 may perform all of the functions of acentral processor in a non-autonomous computer. In another example,processor 120 and 160 may comprise a single processing device ormultiple processing devices operating in parallel.

In addition, when engaged, computer 110 may control some or all of thesefunctions of vehicle 101 and thus be fully or partially autonomous. Itwill be understood that although various systems and computer 110 areshown within vehicle 101, these elements may be external to vehicle 101or physically separated by large distances.

The vehicle may also include a geographic position component 144 incommunication with computer 110 for determining the geographic locationof the device. For example, the position component may include a GPSreceiver to determine the device's latitude, longitude and/or altitudeposition. Other location systems such as laser-based localizationsystems, inertial-aided GPS, or camera-based localization may also beused to identify the location of the vehicle. The location of thevehicle may include an absolute geographical location, such as latitude,longitude, and altitude as well as relative location information, suchas location relative to other cars immediately around it, which canoften be determined with better accuracy than absolute geographicallocation.

The vehicle may also include other devices in communication withcomputer 110, such as an accelerometer, gyroscope or anotherdirection/speed detection device 146 to determine the direction andspeed of the vehicle or changes thereto. By way of example only,acceleration device 146 may determine its pitch, yaw or roll (or changesthereto) relative to the direction of gravity or a plane perpendicularthereto. The device may also track increases or decreases in speed andthe direction of such changes. The device's provision of location andorientation data as set forth herein may be provided automatically tothe user, computer 110, other computers and combinations of theforegoing.

The computer 110 may control the direction and speed of the vehicle bycontrolling various components. By way of example, if the vehicle isoperating in a completely autonomous driving mode, computer 110 maycause the vehicle to accelerate (e.g., by increasing fuel or otherenergy provided to the engine), decelerate (e.g., by decreasing the fuelsupplied to the engine or by applying brakes) and change direction(e.g., by turning the front two wheels).

The vehicle may also include components for detecting objects externalto the vehicle such as other vehicles, obstacles in the roadway, trafficsignals, signs, trees, etc. The detection system 154 may include lasers,sonar, radar, cameras or any other detection devices which record datawhich may be processed by computer 110. For example, if the vehicle is asmall passenger vehicle, the car may include a laser mounted on the roofor other convenient location.

As shown in FIG. 3, vehicle 101 may include a small passenger vehiclehaving lasers 310 and 311, mounted on the front and top of the vehicle,respectively. Laser 310 may have a range of approximately 150 meters, athirty degree vertical field of view, and approximately a thirty degreehorizontal field of view. Laser 311 may have a range of approximately50-80 meters, a thirty degree vertical field of view, and a 360 degreehorizontal field of view. The lasers may provide the vehicle with rangeand intensity information which the computer may use to identify thelocation and distance of various objects. In one aspect, the lasers maymeasure the distance between the vehicle and the object surfaces facingthe vehicle by spinning on its axis and changing its pitch.

The vehicle may also include various radar detection units, such asthose used for adaptive cruise control systems. The radar detectionunits may be located on the front and back of the car as well as oneither side of the front bumper. As shown in the example of FIG. 3,vehicle 101 includes radar detection units 320-323 located on the side(only one side being shown), front and rear of the vehicle. Each ofthese radar detection units may have a range of approximately 200 metersfor an approximately 18 degree field of view as well as a range ofapproximately 60 meters for an approximately 56 degree field of view.

In another example, a variety of cameras may be mounted on the vehicle.The cameras may be mounted at predetermined distances so that theparallax from the images of 2 or more cameras may be used to compute thedistance to various objects. As shown in FIG. 3, vehicle 101 may include2 cameras 330-331 mounted under a windshield 340 near the rear viewmirror (not shown). Camera 330 may include a range of approximately 200meters and an approximately 30 degree horizontal field of view, whilecamera 331 may include a range of approximately 100 meters and anapproximately 60 degree horizontal field of view.

In addition to the sensors described above, the computer may also useinput from other sensors and features typical to non-autonomousvehicles. For example, these other sensors and features may include tirepressure sensors, engine temperature sensors, brake heat sensors, breakpad status sensors, tire tread sensors, fuel sensors, oil level andquality sensors, air quality sensors (for detecting temperature,humidity, or particulates in the air), door sensors, lights, wipers,etc. This information may be provided directly from these sensors andfeatures or via the vehicle's central processor 160.

Many of these sensors provide data that is processed by the computer inreal-time, that is, the sensors may continuously update their output toreflect the environment being sensed at or over a range of time, andcontinuously or as-demanded provide that updated output to the computerso that the computer can determine whether the vehicle's then-currentdirection or speed should be modified in response to the sensedenvironment.

In addition to processing data provided by the various sensors, thecomputer may rely on environmental data that was obtained at a previouspoint in time and is expected to persist regardless of the vehicle'spresence in the environment. For example, returning to FIG. 1, data 134may include detailed map information 136, e.g., highly detailed mapsidentifying the shape and elevation of roadways, lane lines,intersections, crosswalks, speed limits, traffic signals, buildings,signs, real time traffic information, vegetation, or other such objectsand information. For example, the map information may include explicitspeed limit information associated with various roadway segments. Thespeed limit data may be entered manually or scanned from previouslytaken images of a speed limit sign using, for example, optical-characterrecognition.

FIG. 4 is an example of a highway 400. In this example, highway 400includes 3 northbound lanes 410-412 and 3 southbound lanes 420-22defined by broken lane lines 430-33 and solid lane lines 440-43. Highway400 also includes shoulders 450-51 defined between solid lane line 440and barrier 460 and solid lane line 441 and barrier 461, respectively.Between the northbound and southbound lanes, highway 400 includes amedian 470.

FIG. 5 is an example of map information 500 for highway 400. Mapinformation includes data indicating the location and orientation of thevarious features of highway 400. For example, map information 500includes northbound lane data 510-512 identifying northbound lanes410-412 as well as southbound lane data 520-522 identifying southboundlanes 420-22. Map information 500 also includes broken lane line data530-33 and solid lane lines 540-43 representing broken lane lines 430-33and solid lane lines 440-43. Shoulders 450-51 are also represented byshoulder data 550-551. Barriers 460-61 are represented by barrier data560-61, and median 470 is represented by median data 570.

The map information may also include three-dimensional terrain mapsincorporating one or more of objects listed above. For example, thevehicle may determine that another object, such as a vehicle, isexpected to turn based on real-time data (e.g., using its sensors todetermine the current GPS position of another vehicle and whether a turnsignal is blinking) and other data (e.g., comparing the GPS positionwith previously-stored lane-specific map data to determine whether theother vehicle is within a turn lane).

Although the detailed map information 136 is depicted herein as animage-based map, the map information need not be entirely image based(for example, raster). For example, the map information may include oneor more roadgraphs or graph networks of information such as roads,lanes, intersections, and the connections between these features. Eachfeature may be stored as graph data and may be associated withinformation such as a geographic location whether or not it is linked toother related features. For example, a stop sign may be linked to a roadand an intersection. In some examples, the associated data may includegrid-based indices of a roadgraph to promote efficient lookup of certainroadgraph features.

Data 134 may store tailgater threshold data 138. This data may includevarious thresholds for determining whether a vehicle is tailgating.These thresholds may be adapted to the speed of the autonomous vehicles.In one aspect, at slow speeds, or speeds below a speed threshold, thetailgater threshold may be based on distance (D_(TH)). For example, anyobject closer than 3 meters at speeds less than (or equal to) 5 mph maybe considered a tailgater. At higher speeds, or speeds below a speedthreshold, the tailgater threshold may be based on time (T_(TH)). Forexample, any object closer than 0.7 seconds may be considered atailgater. These thresholds may be tuned by conducting user studies todetermine what following distances people find comfortable or acceptableas well as based on human reaction time in situations that require hard(or abrupt) braking or bad weather. These thresholds may be stored in atable, database, or other data structure such that the given aparticular speed, the relevant threshold may be identified quickly.

Data 134 may also store headway buffer data 140. Headway may include thedistance between two vehicles divided by the speed of the followingvehicle, or in other words, the time it would take the following car toreach the current location of the lead vehicle. Thus, the headway bufferdata may define a minimum headway buffer as an amount of time betweenthe autonomous vehicle and a vehicle immediately in front of theautonomous vehicle. The minimum headway buffer may also vary givenexternal factors such as the current driving conditions. For example,different minimum headway buffers may be utilized for surface streets asopposed to highways, rainy conditions as opposed to clear conditions,daytime conditions versus night time conditions.

In addition to the operations described above and illustrated in thefigures, various operations will now be described. It should beunderstood that the following operations do not have to be performed inthe precise order described below. Rather, various steps can be handledin a different order or simultaneously, and steps may also be added oromitted.

In one aspect, an autonomous vehicle may detect and identify variousobjects, including other vehicles, in the autonomous vehicle'ssurroundings. For example, using laser data collected by laser 310and/or 311, computer 101 may detect objects within the range of thelasers. These objects may be identified as vehicles using variousmethods such as image matching or comparing characteristics such assize, location, speed, heading, etc. In this regard, computer 110 maydetermine the actual geographic location of objects using data from thesensors described above as well as the detailed map information. Inaddition, computer 110 may also determine the relative distance betweenobjects and vehicle 101.

FIG. 6 is an example of a situation in which vehicle 101 is being drivenin an autonomous mode along roadway 400. In this example, computer 110of vehicle 101 may detect and identify vehicles 601-04 using sensor datareceived from vehicle 101's various sensors.

The autonomous vehicle may identify a vehicle which could be tailgatingthe autonomous vehicle or a possible tailgater. For example, this mayinclude objects that are in the same lane as the autonomous vehicle, butlocated behind the autonomous vehicle. In the example of FIG. 6, vehicle101 is located in lane 411, vehicles 601 and 602 are located in lane411, vehicles 603 is in lane 422, and vehicle 604 is in lane 410.Vehicle 601 is located behind vehicle 101 (see rear of FIG. 3) andvehicle 602 is located in front of vehicle 101 (see front of FIG. 3).Thus, in this example, vehicle 601 is located behind vehicle 101 and inthe same lane as vehicle 101, so computer 110 may determine that vehicle601 is a possible tailgater or that computer 110 should determinewhether vehicle 601 is a tailgater.

The autonomous vehicle may determine whether any of the identifiedvehicles are tailgaters. This may include identifying or selectingbetween two or more different types of thresholds of the threshold data138. In order to do so, computer 101 may compare the speed of vehicle101 to a first threshold related to speed. As an example, vehicle 101may be traveling at speed S_(V). Computer 101 may compare speed S_(V) toa speed threshold S_(TH), from the threshold data 138 to select athreshold for determining whether a possible tailgater is a tailgater.

For example, if speed S_(V) is less than (or equal to) speed S_(TH), forexample, computer 101 may identify the threshold D_(TH) defined indistance. Computer 110 may also determine the distance D₁ betweenvehicle 601 and vehicle 101 (or some distance behind vehicle 101 such asa few feet or inches) as shown in FIG. 6. As noted above, this distanceD₁ may be determined from the line of sight distance or the distancealong lane 411 between the actual geographic location of vehicle 601 andthe actual geographic location of vehicle 602. Computer 110 may thencompare that distance to D_(TH). If D₁ is less than (or equal to)D_(TH), computer 110 may determine that vehicle 601 is a tailgater.

If speed S_(V) is greater than speed S_(TH), for example, computer 101may identify the threshold T_(TH) defined in time. Computer 110 maycalculate a time T₁ for how long until vehicle 602 would reach the rearof vehicle 101 (or some distance behind vehicle 101 such as a few feetor inches) if vehicle 101 were stationary. In this example, the speed ofvehicle 601 may be assumed to be close to that of vehicle 101, and thus,when determining the how long until the vehicle would reach vehicle 101,the speed S_(V) may be used. Thus, computer 110 may determine how longit would take a vehicle traveling at a speed of S_(V) to cover thedistance D₁ or T₁=D₁/S_(V). The time T₁ may then be compared to thethreshold T_(TH). If T₁ is less than T_(TH), computer 110 may determinethat vehicle 601 is a tailgater, and if T_(TH) is greater than or equalto T_(TH), computer 110 may determine that vehicle 601 is not atailgater.

Rather than selecting between or identifying different types ofthreshold values, the computer 110 may define a threshold distance as afunction of different types of threshold values. As an example, athreshold function R may include: R=D_(TH)+T_(TH)*S_(v), where R is thethreshold distance, D_(TH) is a threshold defined in distance, T_(TH) isa threshold defined in time, and S_(v) is the speed of vehicle 101. Inthis example, where the speed S_(v) is 0, R will be equal to D_(TH).Where the speed S_(v) is greater than zero, the threshold T_(TH) willalso contribute to the threshold distance R. In this example, the valuesD_(TH) and T_(TH) may be fixed, for example as 2 meters and 1 second,respectively. Alternatively, these values may be a quadratic term or mayvary depending upon the vehicle's environmental conditions. As anexample, D_(TH) may be zero when on a highway while T_(TH) may be zeroor very small when vehicle 101 is on a surface street.

As another example, the autonomous vehicle may determine whether anothervehicle is a tailgator based on features other than or in addition tospeed and distance. For example, computer 110 may consider whether theother vehicle is changing lanes to move behind or into another lane fromvehicle 101. Computer 110 may detect this behavior, for example, fromsensor data from a camera, laser or other sensor indicating that theother vehicle is crossing lane markers or using a turning signal. Avehicle changing lanes may initially appear as a tailgator, but after afew seconds the time or distance between the other vehicle and vehicle101 may increase or the other vehicle may no longer be in the same laneas vehicle 101. Thus, computer 110 may not identify the other vehicle asa tailgator given the fact that the other vehicle is currently changinglanes.

In yet another example, a vehicle may be identified as a tailgator usinga machine learning classifier. For example, a training set of vehicledata along with classification labels identifying whether the vehicledata indicated a tailgator or not a tailgator may be input into amachine learning algorithm. The vehicle data may include, for example,the speed of two vehicles, changes in speeds of the vehicles over time,the distances between the vehicles, information about the location ofthe vehicles (highway versus surface street, etc.), and othermeasurements or information. This training set may be used to generate aclassifier. Characteristics for possible tailgators are then input intothe classifier and the output identifies whether the possible tailgatoris actually tailgating vehicle 101.

Once a vehicle has been identified as a tailgater, the autonomousvehicle may provide various notifications. For example, computer 110 maynotify passengers of vehicle 101 audibly using a tone or voice alert orvisually using an icon on an in-dash or other display. In addition,computer 110 may provide audible or visual warnings to the driver and/orpassengers of vehicle 601 to indicate that the vehicle 601 istailgating. An example of an external visual notification may include alight on the back of the car that turns on to draw attention of thedriver of the tailgating vehicle. In another example, the notificationabout the tailgator may be suppressed. For example, vehicle 101 may befully stopped or is aggressively accelerating, thereby increasingvehicle 101's speed and the time and distance between the tailgator andvehicle 101.

The autonomous vehicle may also respond by modifying its drivingbehavior. In one example, the autonomous vehicle may change lanes toavoid the tailgater. The autonomous vehicle could then let the tailgaterpass and return to its original lane.

In another example, the autonomous vehicle may respond by adjusting theheadway buffer from a vehicle in front of the autonomous vehicle. Forexample, computer 110 may maintain a minimum headway buffer defined inthe headway buffer data 140 between vehicle 101 and a vehicle in thesame lane as and in front of vehicle 101. When there is a tailgaterfollowing the autonomous vehicle, the autonomous vehicle may increasethis minimum headway buffer.

In the example of FIG. 6, the distance between vehicle 101 and 602 isD₂. Assuming that vehicle 101 is maintaining the minimum headway bufferbetween vehicle 101 and vehicle 602, the minimum headway buffer (whichis defined in time) between vehicle 101 and 602 would be the time H_(v)it would take vehicle 101 to travel the distance D₂ or H_(v)=D₂/S_(v).Computer 110 may control vehicle 101 so that H_(v) is always greaterthan or equal to a minimum headway buffer H.

As another example, when vehicle 101 is traveling at speed S_(V) whichis less than (or equal to) speed S_(TH), the computer 110 may determinethe distance D_(Δ) between D₁ and D_(TH). The computer may thendetermine the time, T_(Δ1), that it would take a vehicle traveling atspeed S_(V) to travel the distance D_(Δ) by dividing D_(Δ) by S_(v).Computer 110 may then increase the minimum headway buffer H betweenvehicle 101 and the vehicle in front of it (in the example of FIG. 6,vehicle 602) by a fraction, integer, or function of time T_(Δ1). In theexample, of FIG. 7, computer 110 may control vehicle 101 such that theheadway between vehicle 101 and vehicle 602 is greater than (or equalto) H+(n*T_(Δ1)). This amount n may be a fraction (such as ⅓ or ½),percentage (such as 25% or 0.75), or some numerical value (such as 1, 2,etc.). For example, if n=1 and the tailgater is 0.5 seconds too close tovehicle 101 (T_(Δ1)=0.5 s), the minimum headway buffer H may beincreased by 1*0.5 s or 0.5 s. Alternatively, the headway buffer may beincreased by some function f of the time T_(Δ2). This function f may belearned from human driving styles using machine-learning techniques.

In addition, the computer may adjust the headway buffer further based onany changes to D₁ (and D_(Δ)). This may continue until the computerdetermines that tailgater is no longer tailgating the autonomous vehicle(or D₁ is greater than D_(TH)).

When vehicle 101 is traveling at speed S_(V) which is greater than orequal to speed S_(TH) and computer 110 has determined that anothervehicle is a tailgater by determining T₁, the computer may determine thetime difference T_(Δ2) between T₁ and T_(TH). Computer 110 may thenincrease the minimum headway buffer H between vehicle 101 and thevehicle in front of it (in the example of FIG. 6, vehicle 602) by afraction, integer, or function of time T_(Δ2). Using the example of avalue n discussed above, time T_(Δ2) may be multiplied by n and added toH. Thus, computer 110 may control vehicle 101 such that the minimumheadway buffer between vehicle 101 and vehicle 602 is greater than orequal to H+(n*T_(Δ2)). Again, alternatively, the headway buffer may beincreased by some function f of the time T_(Δ2). This function f may belearned from human driving styles using machine-learning techniques.

In addition, the computer may adjust the headway buffer further based onany changes to T₁ or S_(v). This may continue until the computerdetermines that tailgater is no longer tailgating the autonomous vehicle(or T₁ is greater than T_(TH)).

FIGS. 7A and 7B are an example flow diagram 700 of steps that may beperformed by a computer of an autonomous vehicle, such as computer 110of vehicle 101. In this example, computer 110 identifies another vehiclethat may be tailgating or “a possible tailgater” at block 702. Asdiscussed above, this may include processing data received from varioussensors to detect objects that are traveling behind the autonomousvehicle and in the same lane. The computer also determines the vehicle'scurrent speed S_(V) at block 704. This speed S_(V) is compared to aspeed threshold S_(TH) at block 706 in order to identify a threshold fordetermining whether the possible tailgater is actually tailgating. IfS_(V) is less than (or equal to) S_(TH), the computer may identify athreshold D_(TH) defined in distance at block 708. The computerdetermines a distance D₁ between the autonomous vehicle and the possibletailgater at block 710. Next the computer compares D_(TH) to D₁ at block712 to determine whether the possible tailgater is a tailgater. If D₁ isgreater than D_(TH), the computer determines that the possible tailgateris not a tailgater at block 714. The computer may then return to block702 to identify other possible tailgaters.

Returning to block 712, if D₁ is less than (or equal to) D_(TH), thecomputer determines that the possible tailgater is a tailgater at block716. The computer may then respond by determining a distance D_(Δ)between D₁ and D_(TH) at block 718. Computer then divides D₁ by S_(V) todetermine the time T_(Δ1) that it would take a vehicle traveling atS_(V) to travel D_(A) at block 720. The time T_(Δ1) is then added by thecomputer to a minimum headway buffer H defined in time between theautonomous vehicle and a vehicle in front of the autonomous vehicle atblock 722. Computer 110 may then increase the minimum headway buffer Hbetween vehicle 101 and the vehicle in front of it by a fraction,integer, or function of time T_(Δ1). Using the example of a value ndiscussed above, time T_(Δ1) may be multiplied by n and added to H.Thus, Computer then increases a minimum headway buffer H (describedabove) by n*T_(Δ1)+H at block 724. Again, alternatively, the headwaybuffer may be increased by some function f of the time T_(Δ1). Thisfunction f may be learned from human driving styles usingmachine-learning techniques.

The computer may continue to adjust the headway buffer based on changesto D₁ (as well as S_(v)) until D₁ is greater than or equal to D_(TH) atblock 726. The computer then continues to identify other potentialtailgaters at block 702.

Returning to block 706, if S_(V) is greater than or equal to S_(TH), thecomputer may identify a threshold T_(TH) defined in time at block 728 ofFIG. 7B. The computer determines a distance D₁ between the autonomousvehicle and the possible tailgater at block 730. Next the computerdivides D₁ by S_(V) to determine the time T₁ it would take a vehicletraveling at speed S_(V) to travel the distance D₁ at block 732. Thecomputer compares T₁ to T_(TH) at block 734 to determine whether thepossible tailgater is a tailgater. If T₁ is greater than T_(TH), thecomputer determines that the possible tailgater is not a tailgater atblock 736. The computer may then return to block 702 of FIG. 7A toidentify other possible tailgaters.

Returning to block 734 of FIG. 7B, if T₁ is less than (or equal to)T_(TH), the computer determines that the possible tailgater is atailgater at block 738. The computer may respond by determining the timedifference T_(Δ2) between T₁ and T_(TH) at block 740. The time T_(Δ2) isthen added by the computer to a minimum headway buffer H defined in timebetween the autonomous vehicle and a vehicle in front of the autonomousvehicle at block 742. Computer 110 may then increase the minimum headwaybuffer H between vehicle 101 and the vehicle in front of it by afraction, integer, or function of time T_(Δ2). Using the example of avalue n discussed above, time T_(Δ2) may be multiplied by n and added toH. Thus, computer increases a minimum headway buffer H (described above)by n*T_(Δ2)+H at block 744. Again, alternatively, the headway buffer maybe increased by some function f of the time T_(Δ2). This function f maybe learned from human driving styles using machine-learning techniques.

The computer may continue to adjust the headway buffer H based onchanges to T₁ (as well as S_(v) and D₁) until D₁ is greater than orequal to T_(TH) at block 746. The computer then continues to identifyother potential tailgaters at block 702 of FIG. 7A.

By adjusting the minimum headway buffer, as described above, theautonomous vehicle may account for human reaction times, such as wherethe autonomous vehicle requires the driver to take control of theautonomous vehicle. As an example, assuming a constant human reactiontime, if the tailgater decreased the time buffer for reacting to anunexpected situation by some value, computer 110 may increase vehicle101's time buffer by the same amount to compensate, allowing computer110 to maintain the same level risk for situations that require suddenbraking.

Alternatively, or in addition to adjusting the headway buffer, theautonomous vehicle may also adjust its braking profile or pattern. Oncea tailgater is identified, the autonomous vehicle could modify itsbraking profile when approaching slower (or stopped) vehicles. Forexample, computer 110 could cause vehicle 101 to brake more aggressivelyearlier to draw attention of the vehicle behind (while monitoring itsstate) in order to leave more room to maneuver later. As anotherexample, if there is a vehicle in front of the autonomous vehicle whichwould require aggressive braking, the autonomous vehicle may begin witha more gradual braking pattern and transition to more aggressive brakingor the autonomous vehicle may initially brake hard (in a burst pattern),relax the braking a bit and then more gradually increase the brakingpower. These patterns would allow the tailgater to see the brake lightsof the autonomous vehicle and may give the tailgater more to realize theneed to also brake aggressively.

In one example, before determining whether another vehicle is atailgater, the autonomous vehicle may observe the vehicle for anobservation period of a few seconds or less. If the other vehicle isdriving slower than the autonomous vehicle, this observation period mayallow the autonomous vehicle to eliminate false positives such asvehicles that are moving through a lane or increasing the distancebetween themselves and the autonomous vehicle.

The detection and notification features described above could also beused in vehicles that are not necessarily capable of fully autonomousdriving modes, such as vehicles without any automatic control orvehicles with semiautonomous modes such as cruise control or advancedcruise control features.

As these and other variations and combinations of the features discussedabove can be utilized without departing from the subject matter asdefined by the claims, the foregoing description of exemplaryembodiments should be taken by way of illustration rather than by way oflimitation of the subject matter as defined by the claims. It will alsobe understood that the provision of the examples described herein (aswell as clauses phrased as “such as,” “e.g.”, “including” and the like)should not be interpreted as limiting the claimed subject matter to thespecific examples; rather, the examples are intended to illustrate onlysome of many possible aspects.

The invention claimed is:
 1. A method of controlling a first vehicle,the method comprising: detecting a second vehicle behind the firstvehicle; determining whether the second vehicle is a tailgater based ona comparison of the distance threshold to a distance between the secondvehicle and the first vehicle; determining, by a processor, a differencein distance between a distance threshold and the distance between thesecond vehicle and the first vehicle; determining an amount of time forthe first vehicle to travel the difference; increasing a minimum headwaybuffer defined in time between the first vehicle and a third vehicle infront of the first vehicle using the amount of time; and controlling thefirst vehicle based on the increased minimum headway buffer.
 2. Themethod of claim 1, further comprising adjusting the minimum headwaybuffer based on any changes to the current speed of the first vehicle.3. The method of claim 1, further comprising adjusting the minimumheadway buffer based on any changes to the difference.
 4. The method ofclaim 1, wherein the second vehicle is determined to be a tailgater whendistance between the second vehicle and the first vehicle is less thanthe distance threshold.
 5. The method of claim 4, further comprisingadjusting the minimum headway buffer until the distance between thefirst vehicle and the tailgater is greater than or equal to the distancethreshold.
 6. The method of claim 1, further comprising selecting thedistance threshold over a time threshold when the speed of the firstvehicle is less than a speed threshold.
 7. The method of claim 1,further comprising determining the distance threshold using a functionof a distance threshold component, a time threshold component, and thecurrent speed of the vehicle.
 8. A method of controlling a firstvehicle, the method comprising: detecting a second vehicle behind thefirst vehicle; identifying the second vehicle as a possible tailgater;determining, by a processor, a difference in distance between the firstvehicle and the possible tailgater; determining an amount of time forthe first vehicle to travel the difference; determining that thepossible tailgater is a tailgater based on a comparison of the amount oftime to a time threshold; determining a difference in time between thetime threshold and the amount of time; increasing a minimum headwaybuffer defined in time between the first vehicle and a third vehicle infront of the first vehicle using the difference; and controlling thefirst vehicle based on the increased minimum headway buffer.
 9. Themethod of claim 8, further comprising adjusting the minimum headwaybuffer based on any changes to the current speed of the first vehicle.10. The method of claim 8, further comprising adjusting the minimumheadway buffer based on any changes to the difference.
 11. The method ofclaim 8, wherein the possible tailgater is determined to be a tailgaterwhen the amount of time is less than the time threshold.
 12. The methodof claim 11, further comprising adjusting the minimum headway bufferuntil the amount of time is greater than or equal to the time threshold.13. The method of claim 8, further comprising selecting the timethreshold over a speed threshold when the speed of the first vehicle isgreater than a speed threshold.
 14. A system for controlling a firstvehicle, the system comprising: memory storing a distance threshold anda minimum headway buffer defined in time between the first vehicle and athird vehicle in front of the first vehicle; and a processor configuredto: detect a second vehicle behind the first vehicle; determine that thesecond vehicle is a tailgater based on a comparison of the distancethreshold to a distance between the second vehicle and the firstvehicle; determine a difference in distance between a distance thresholdand the distance between the second vehicle and the first vehicle;determine an amount of time for the first vehicle to travel thedifference; increase the minimum headway buffer using the amount oftime; and control the first vehicle based on the increased minimumheadway buffer.
 15. The system of claim 14, wherein the second vehicleis determined by the processor to be a tailgater when distance betweenthe second vehicle and the first vehicle is less than the distancethreshold.
 16. The system of claim 14, wherein the processor is furtherconfigured to select the distance threshold over a time threshold whenthe speed of the first vehicle is less than a speed threshold.
 17. Thesystem of claim 14, wherein the processor is further configured todetermine the distance threshold using a function of a distancethreshold component, a time threshold component, and the current speedof the vehicle.
 18. A system for controlling a first vehicle, the systemcomprising: memory storing a time threshold for determining whether avehicle is tailgating and a minimum headway buffer value defined in timebetween the first vehicle and a third vehicle in front of the firstvehicle; and a processor configured to: detect a second vehicle behindthe first vehicle; identifying the second vehicle as a possibletailgater; determine a difference in distance between the first vehicleand the possible tailgater; determine an amount of time for the firstvehicle to travel the difference; determine that the possible tailgateris a tailgater based on a comparison of the amount of time to a timethreshold; determine a difference in time between the time threshold andthe amount of time; increase the minimum headway buffer using thedifference; and control the first vehicle based on the increased minimumheadway buffer.
 19. The system of claim 18, wherein the possibletailgater is determined by the processor to be a tailgater when theamount of time is less than the time threshold and the processor isfurther configured to adjust the minimum headway buffer until the amountof time is greater than or equal to the time threshold.
 20. The systemof claim 18, wherein the processor is further configured to select thetime threshold over a speed threshold when the speed of the firstvehicle is greater than a speed threshold.